﻿using Microsoft.Extensions.DependencyInjection;
using RuoVea.Web.Template.Application.Impl;

namespace RuoVea.Web.Template.Application.DI;

/// <summary>
/// ServiceExceptions
/// </summary>
public static class ServiceExceptions
{
    /// <summary>
    /// 
    /// </summary>
    /// <param name="services"></param>
    /// <returns></returns>
    public static IServiceCollection ApplicationService(this IServiceCollection services)
    {
        services.AddTransient<IDemoService, DemoService>();
        return services;
    }
}
